filechooserentry: Set minimum key length to 0
authorBenjamin Otte <otte@redhat.com>
Mon, 7 Nov 2011 02:51:25 +0000 (03:51 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 16 Dec 2011 19:09:13 +0000 (20:09 +0100)
We want the empty chooser to show possible completions, too.

gtk/gtkfilechooserentry.c

index ecd51077d99de2ab066747919bb62f824b993d6f..159e80f23cd3363c18231307a912697ec55b77fe 100644 (file)
@@ -191,6 +191,7 @@ _gtk_file_chooser_entry_init (GtkFileChooserEntry *chooser_entry)
 
   comp = gtk_entry_completion_new ();
   gtk_entry_completion_set_popup_single_match (comp, FALSE);
+  gtk_entry_completion_set_minimum_key_length (comp, 0);
   /* see docs for gtk_entry_completion_set_text_column() */
   g_object_set (comp, "text-column", FULL_PATH_COLUMN, NULL);